Repository navigation
feat(pm): H72 lists unlisted mailbox knocks against the seat roster - #34235
Merged
Merged
Conversation
The H72 patrol now builds the seat roster once per sweep from the open pm:seat posts and open pulls it already holds (seatSessionRoster, the one roster reader), hands it to mailboxEvents, and pushes a second report-only H72 row naming each knock whose signed session the seat it names does not list. A listing truncated at the page ceiling reads as an unreadable roster: the row goes unjudged and the summary renders NOT MEASURED. Claude-Session: https://claude.ai/code/session_01ADHkmPhHSUtdB95JSektb4 Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv 席位核对Verdict: ACCEPT · head
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Steve · project thread
Part of #34013
Clause-②: no
Metadata-protocol: none
维护者速读
unlisted),在该信箱上多出一行只报告的巡查行,按评论 id 列出,告诉收信席位「这条不照办」。listed/unlisted读数,但巡查没带名册,unlisted敲门没人被告知(卡上席位裁定的剩余项一)。scripts/pm/check-half-states.mjs的h72UnlistedKnockLines与h72RosterListings,以及 sweep 里 H72 块的接线(mailboxEvents(rows, roster))。node scripts/pm/check-half-states.mjs --self-test,预期结尾H72 mailbox off-table bells 36/33、退出 0。What changes
seatSessionRosterbesidemailboxEvents(same lazy import) and reads the roster from the two listings the sweep already holds: the openpm:seatposts (SEEN_LABEL_PAGES) and the open pulls (H7's listing). No new request, and no second signature or roster parser in this file (pinned against the source above the self-test).h72RosterListings(issues, pulls, truncated)(pure): hands the roster thepm:seatrows and the pulls, ornullfor a listing thatnoteOpenListingrecorded as truncated at the page ceiling (or that is not an array). The roster readsnullasunreadable, never as a smaller roster: a partial roster would read a knock from a seat whose post sat on an unread page asunlisted. The two listing names live inH72_ROSTER_LISTINGSand are pinned against the names the two listing functions record.h72UnlistedKnockLines(reading, roster, nowMs)(pure): a second report-only H72 row on the mailbox PR, listing (up to five, then counting) the knocks inside the 24 h window whose signature readsunlisted, by comment id, author and the reader's reason. Remedy text: the seat the mailbox serves does not act on anunlistedknock (untrusted-text.md); the seat the signature names rings from a session it lists (--mailbox-keysprints the rule). Alistedknock is a consistency reading, never proof, and is not listed. A maintainer's knock (not signature-checked) and a comment the author fence ignores are out.unlisted; this row then lists nothing and the sweep recordsmailboxRosterReason, which the H72 summary clause renders asUnlisted knock signatures: NOT MEASURED — …. The new key ridesSWEEP_COUNT_KEYS.h72OffTableMailboxLines) is unchanged and reads the samemailboxEvents(rows, roster)reading; its census does not move with the roster (pinned by fix(pm): a mailbox knock's signature must be a session the named seat lists #34071).inventory; neither row is loud.Tests
check-half-states.mjsH72 battery: 22 → 36 cases, floor raised 20 → 33. Both ways: anunlistedknock fires;listed, maintainer and unsigned readings do not; an unread roster (unreadable, null, nostate) and an unread reading are unjudged; the window boundary (23h59m fires, 24h01m aged out, unreadableatfires); an off-table unlisted knock is named by both rows; the five-item cap; the text (no angle bracket, rule file, printout, never proof, report-only, no tracker number); not loud; the roster listings and their truncation; the truncation names against the listing functions' source; the sweep wiring against the source above the self-test; the summary clause in both states and the forwarding key.record-recognisers.mjsknock-signature battery: 2 end-to-end rows. The REAL roster read throughh72RosterListings(with a non-seat card and a non-mailbox pull mixed in) and the REAL reader: H72 lists the stray session's knock and not the listed knock, the maintainer's or the drive-by's. A truncatedpm:seatlisting makes the real roster unreadable, the reader reads both relay knocksunlisted, and H72 lists none.check-half-states5307 cases pass;record-recognisers432 cases pass. No forced edits to existing tests.Ablations — 3 legs, each red, each restored to the HEAD blob
All through
scripts/ablation-replace.mjs(anchor hit 1, x1 to x0) at 22ea9fe; each restore proven by an emptygit diff HEADand blobe1e8c12bequal to HEAD.h72UnlistedKnockLines(roster === undefinedonly)mailboxEvents(rows)without the rosterh72RosterListingsignores a truncatedpm:seatlistingA first A2 attempt was refused before any write (anchor ambiguous: it also matched the pin's own literal); it ran with the indented sweep line as the anchor.
Remainder (not in this PR — the card stays open)
Claim:belong on that seat's roster? Not done here, for a measured reason: there is no claim reader of a thread session onmainto reuse.claimSessionIdreads the FIRST session on theSession:line, deliberately the seat's; nothing readsThread session:. The claim template in the pm-dispatch skill carries no such key, and live claims spell it at least three ways: aThread session:line (the skills seats' claims), a second session in prose on theSession:line (a spec seat's), or not at all (a ui seat's claim for a card set; a server seat's subagent claim). Listing it would mint a new claim key and its reader. The options are in the card'sos-dev-report.Acceptance notes
unlistedknocks was taken: this card thread does not run the board sweep. The previous round's census (22 of 58 relay knocksunlistedon 2026-11-15) is the expected order of magnitude for the new row on the first sweeps.Verification
Local gates at 22ea9fe — 69 derived, 69 run, 0 NOT-MEASURED (derived zero, exit codes recorded)
Every command
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstacklisted at 22ea9fe (2 paths vs merge base dfb8ed3), each exit 0 captured before any pipe, includingpnpm check:pm-half-states,pnpm check:pm-record-recognisers,pnpm check:pm-dispatch-gates,pnpm check:pm-governed-mergesandpnpm check:commit-card-trailers.pnpm check:i18n-coveragefirst exited 3 (its CLI and example build closure was not built in this container); after theturbo run buildclosure it names, under the verify lock (VERDICT command-exit 0, 73 of 73 tasks), it re-ran: exit 0 (14 configs, none new).--ranreconciliation:69 run, 0 NOT-MEASURED (a DERIVED zero).test:repowas not run locally: the diff touches no vitest repo-project file. main moved to b51cb18 after the round; it touches neither file of this diff.🤖 Generated with Claude Code
https://claude.ai/code/session_01ADHkmPhHSUtdB95JSektb4